using System;
using System.Collections.Generic;
using System.Text;

using System.Drawing;

namespace ArgoszLite
{
    public sealed class ImgStore
    {
        static readonly ImgStore instance = new ImgStore();
        private static bool modded;

        // Explicit static constructor to tell C# compiler
        // not to mark type as beforefieldinit
        static ImgStore()
        {
        }

        ImgStore()
        {
        }

        public static ImgStore Instance
        {
            get
            {
                return instance;
            }
        }

        private Bitmap[] actualBitmap = new Bitmap[2];
        
        public bool isModded
        {
            get { return modded; }
            set { modded = value; }
        }
        
        public Bitmap this[int index]
        {
            get
            {
                return actualBitmap[index]; 
            }
            set
            {
                actualBitmap[index] = value;
            }
        }

    }
}
